
/**
 * 设置本地存储
 * @param key 
 * @param value 
 */
export const setLocal = (key: string, value: string) => {
    localStorage.setItem(key, value)
}

/**
 * 获取本地存储
 * @param key 
 * @returns 
 */
export const getLocal = (key: string) => {
    return localStorage.getItem(key)
}

/**
 * 删除本地存储
 * @param key 
 */
export const removeLocal = (key: string) => {
    localStorage.removeItem(key)
}
